.tui-chat {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tui-chat-main {
  min-height: 0;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.tui-chat-main .tui-chat-safe-tips {
  padding: 12px 20px;
  background-color: rgba(255, 149, 0, 0.1);
  color: #ff8c39;
  line-height: 18px;
  font-family: PingFangSC-Regular;
  font-style: normal;
  font-weight: 400;
  text-align: justify;
  font-size: 12px;
}

.tui-chat-main .tui-chat-safe-tips a {
  color: #006eff;
  float: right;
}

.tui-chat-main .tui-chat-application-tips {
  text-align: center;
  width: 100%;
  background: #fce4d3;
  padding: 2px;
  font-size: 12px;
}

.tui-chat-main .application-tips-btn {
  color: #006eff;
  padding-left: 10px;
}

.tui-chat-main .tui-message-list {
  flex: 1;
  height: 100%;
  overflow: hidden auto;
}

.tui-chat-main .tui-message-list .message-more {
  font-size: 14px;
  padding: 5px;
  text-align: center;
}

.tui-chat-main .tui-message-list .to-bottom-tip {
  position: sticky;
  bottom: 10px;
  left: 100%;
  margin-right: 15px;
  width: 92px;
  height: 28px;
  padding: 0 5px;
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  cursor: pointer;
}

.tui-chat-main .tui-message-list .to-bottom-tip-text {
  font-family: PingFangSC-Regular;
  font-weight: 400;
  font-size: 10px;
  color: #147aff;
  letter-spacing: 0;
  text-align: center;
  padding-left: 3px;
}

.tui-chat-main .tui-message-list .message-li {
  display: flex;
  flex-direction: column;
}

.tui-chat-main .tui-message-list .message-li:first-child {
  margin-top: 5px;
}

.tui-chat-main .tui-message-list .message-li .message-item {
  display: flex;
  position: relative;
  flex-direction: column;
}

.tui-chat-main .tui-message-list .message-li .message-item .message-tool {
  z-index: 5;
  position: absolute;
  cursor: pointer;
  transform: translateY(-100%);
}

.tui-chat-main .tui-message-list .message-li .message-item .message-tool-out {
  right: 30px;
  left: auto;
}

.tui-chat-main .tui-message-list .message-li .message-item .message-tool-in {
  left: 30px;
  right: auto;
}

.tui-chat-main .tui-message-list .message-li .message-item .message-tool-bottom {
  z-index: 5;
  bottom: 0;
  transform: translateY(100%);
}

.tui-chat-main .tui-message-list .message-li .message-label {
  max-width: 50px;
}

.tui-chat-main .tui-message-list .right {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.tui-chat .disabled {
  position: relative;
}

.tui-chat .disabled::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
}

.image-dialog {
  position: fixed;
  z-index: 5;
  width: 100vw;
  height: calc(100vh - 63px);
  top: 63px;
  left: 0;
}

.image-dialog header {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
}

::-webkit-scrollbar {
  width: 6px;
  height: 140px;
  background-color: transparent;
}

::-webkit-scrollbar-track {
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #9a999c;
}
